<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>测试教程</title>
    <script src="C:\Users\lh\github\VueStudy\vue.min.js"></script>
  </head>
  <body>
    <div id="vue_det">
      <h1>site : {{site}}</h1>
      <h1>url : {{url}}</h1>
      <h1>{{details()}}</h1>
    </div>
    <script type ="text/javascript">
    var vm = new Vue({
      el: '#vue_det',
      data: {
        site: "vueStudy",
        url: "bilibili.com",
        alexa: "10000"
      },
      methods: {
        details: function(){
          return this.site + "-----哦？";}
      }

    })
    </script>
  </body>
</html>
